﻿CREATE TABLE [sacm].[Agenda] (
    [IdAgenda]        INT          IDENTITY (1, 1) NOT NULL,
    [IdDoctor]        INT          NULL,
    [DiaSemanaIni]    INT          NULL,
    [DiaSemanaFin]    INT          NULL,
    [FechaMod]        DATETIME     NULL,
    [IpMod]           VARCHAR (15) NULL,
    [IdUsuarioMod]    INT          NULL,
    [IdEmpresa]       INT          NOT NULL,
    [IdSucursal]      INT          NOT NULL,
    [IdEstatusAgenda] INT          NOT NULL,
    [IdRangoMinCita]  INT          NULL
);







